Skip to content

Restore complete console TypeScript validation - #902

Merged
Gajesh2007 merged 1 commit into
masterfrom
refactor/repository-web
Sep 12, 2026
Merged

Gajesh2007 merged 1 commit into
masterfrom
refactor/repository-web

Conversation

@Gajesh2007

@Gajesh2007 Gajesh2007 commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

The console could previously ship while TypeScript reported thirteen errors. This refactor restores full build-time validation, expresses the minimal identity supplied by the lazy Privy bridge, updates the installed SDK/config contracts, and makes provider test fixtures reflect the actual wire model. Payout tests now wait for the existing withdrawal initialization guard.

The minimal identity contract removes consumer assertions while preserving the lazy SDK boundary. Wallet creation remains off using the installed SDK's per-chain options. Provider fixtures expose partial nested overrides only where their builder supplies the defaults; removed per-machine earnings fields are not added back to the wire schema. Existing account/Stripe route refactors in #899 are separate.

Before

flowchart LR
  Auth[Lazy Privy bridge] --> Unknown[Untyped console identity]
  Unknown --> Views[Consumers assert or fail type checking]
  Source[Console source and tests] --> Ignore[Next build skips TypeScript failures]
  Ignore --> Bundle[Production bundle]
Loading

After

flowchart LR
  Auth[Lazy Privy bridge] --> Identity[Explicit console identity contract]
  Identity --> Views[Typed identity consumers]
  Source[Console source and tests] --> Check[Whole-project TypeScript validation]
  Check -->|valid| Bundle[Production bundle]
  Check -->|invalid| Stop[Build fails before publication]
Loading

Validation on Node 22.23.2 and committed dependencies: full npm run typecheck, Next 16.2.11 production build including type validation, lint (existing warnings only), and 694 tests across 88 files pass. The original master had 13 TypeScript errors; none remain. No dependency upgrades or provider/coordinator schema changes.

Three payout-test setup corrections are identical to #899; they enable the existing recovery-gated flow before checking results. The 36 additional adapter tests in #899 are not part of this master-based PR, explaining its different test count.

@vercel

vercel Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Ready Ready Preview Sep 11, 2026 11:28pm UTC
d-inference-console-ui-dev Ready Ready Preview Sep 11, 2026 11:28pm UTC
d-inference-landing Ready Ready Preview Sep 11, 2026 11:28pm UTC

Request Review

@Gajesh2007 Gajesh2007 changed the title Refactor web operations and restore strict console builds Restore complete console TypeScript validation Sep 11, 2026
@Gajesh2007
Gajesh2007 marked this pull request as ready for review September 11, 2026 22:25
@Gajesh2007

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-11T23:31:22.489324Z 81bcfed Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 69fcd341b1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Gajesh2007

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 81bcfedcf1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Gajesh2007
Gajesh2007 merged commit 06518dc into master Sep 12, 2026
19 of 21 checks passed

This branch had an error being deployed

1 failed and 3 active deployments
Preview – d-inference — 81bcfedc Deployed Sep 11, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — 81bcfedc Deployed Sep 11, 2026 by vercel[bot]
Preview – d-inference-landing — 81bcfedc Deployed Sep 11, 2026 by vercel[bot]
benchmarks — 81bcfedc Deployed Sep 11, 2026 by Gajesh2007 via E2E Benchmarks #951
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants